// 模式匹配
// 对象解构
let obj = {
    name:'zhangsan',
    gender:'男'
}
// let {name,gender} = obj;
let {gender} = obj;
// let name = obj.name;
// 数组解构
let arr = [1,2,3];
let [a,b,c] = arr;
let [d,e] = arr;
